package com.charlotte.study.gupao.vistor.kpi;

import java.util.Random;

/**
 * @author junjie.ding
 * @date 2020/3/25
 */
public class Manager extends Employee{

    public Manager(String name) {
        super(name);
    }

    @Override
    public void accept(IVisitor visitor) {
        visitor.visit(this);
    }

    public int getProducts(){
        return new Random().nextInt(10);
    }
}
